LSL, A language without string replacement
October 8, 2009 · 26 views · 0 comments
Nearby In Time
Avoid Methods
October 8, 2009
MystiTool Performance
October 8, 2009
Radar Radar from Radar
October 8, 2009
Progress Bar Script
October 8, 2009
LSL, A language without string replacement
October 8, 2009
Snapzilla Fans Get Together
October 9, 2009
Imagine One Outer Land Peace Tower
October 9, 2009
Step Up and Stand Up
October 9, 2009
Freedom for the apples!
October 10, 2009
About
One of my biggest head aches with LSL is with string replacement. I do not know of any other language that doesn't offer this capability. This is the function that I would love to see (SVC-1085): string llReplaceString(string haystack, string needle, string replacement); So, llReplaceString("Hello", "ell", "ipp") would result in "Hippo". Without this function, I have the option of finding string indexes, cutting substrings, and concatonating the results. The other option is to use a trick with lists. Lists eat away at memory & time, but use less code. The other problem I have is llUnescapeURL. It doesn't unescape space characters encoded with plus signs (SVC-4900). From Dedric Mauriac via bloghud.com